//
//  AppDelegate.m
//  Pthread
//
//  Created by Yanyan Jiang on 2020/7/25.
//  Copyright © 2020 Yanyan Jiang. All rights reserved.
//

#import "AppDelegate.h"
#import "YYWindow.h"

@interface AppDelegate ()

@end

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    self.window = [[YYWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    UIStoryboard *sb = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
    UIViewController *vc = [sb instantiateInitialViewController];
    self.window.rootViewController = vc;
    [self.window makeKeyAndVisible];
    return YES;
}

@end
